﻿using System;
using Database.Repositories;
using Common.DTO;

namespace GameLogic.Place
{
    public class IslandManager
    {
        private IslandRepository _islandRepository;

        public IslandManager()
        {
            _islandRepository = new IslandRepository();
        }

        public Guid CreateIsland()
        {
            return _islandRepository.Create(new IslandDTO());
        }

        public bool IsFull(Guid islandId)
        {
            var islandDTO = _islandRepository.Read(islandId);
            
            // TODO_OL: Bestäm hur detta ska bedömmas
            return false;
        }
    }
}
